﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace CarolLib.KVCompare
{
    public class FileHelper
    {
        public static void WriteFile(string file, string content)
        {
            StreamWriter sr;
            if (File.Exists(file))
            {
                File.Delete(file);
            }
            sr = File.CreateText(file);
            sr.WriteLine(content);
            sr.Close();
        }
    }
}
